import 'package:animal/constant/style.dart';
import 'package:animal/utils/screen_util.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

//图片加载中显示样式
class ImageErrorWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: KBoxStyle.lineRadio(bgColor: Colors.white54),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [Image.asset("icon/error.png", width: ScreenUtil().l(100))],
      ),
    );
  }
}
